<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>预约列表页设计</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f8f8f8;
            color: #333;
        }
        .container {
            max-width: 414px;
            margin: 20px auto;
            background: white;
            min-height: 100vh;
            position: relative;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .header {
            display: flex;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        .back-button {
            font-size: 18px;
            margin-right: 10px;
        }
        .header-title {
            flex: 1;
            text-align: center;
            font-size: 18px;
            font-weight: 500;
        }
        .header-action {
            font-size: 16px;
        }
        .content {
            padding: 15px;
        }
        .search-bar {
            background: #f5f5f5;
            border-radius: 4px;
            padding: 8px 15px;
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        .search-icon {
            margin-right: 8px;
            color: #999;
        }
        .search-text {
            color: #999;
            font-size: 14px;
        }
        .filter-tabs {
            display: flex;
            margin-bottom: 15px;
            overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .filter-tabs::-webkit-scrollbar {
            display: none;
        }
        .filter-tab {
            padding: 6px 12px;
            font-size: 14px;
            color: #666;
            background: #f5f5f5;
            border-radius: 16px;
            margin-right: 8px;
        }
        .filter-tab.active {
            background: #333;
            color: white;
        }
        .sort-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            font-size: 14px;
        }
        .sort-label {
            color: #999;
        }
        .sort-options {
            display: flex;
        }
        .sort-option {
            margin-left: 15px;
            color: #666;
        }
        .sort-option.active {
            color: #333;
            font-weight: 500;
        }
        .appointment-list {
            margin-bottom: 20px;
        }
        .appointment-item {
            background: white;
            border-radius: 8px;
            margin-bottom: 15px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            border: 1px solid #f0f0f0;
            display: flex;
        }
        .appointment-image {
            width: 100px;
            height: 100px;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .appointment-content {
            flex: 1;
            padding: 12px;
            display: flex;
            flex-direction: column;
        }
        .appointment-title {
            font-size: 16px;
            margin-bottom: 8px;
            font-weight: 500;
        }
        .appointment-desc {
            font-size: 12px;
            color: #666;
            margin-bottom: 8px;
            flex: 1;
        }
        .appointment-info {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #999;
        }
        .status-tag {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 2px;
            font-size: 12px;
            margin-left: 5px;
        }
        .status-available {
            background: #e8f5e9;
            color: #4caf50;
        }
        .status-full {
            background: #f5f5f5;
            color: #9e9e9e;
        }
        .status-soon {
            background: #e3f2fd;
            color: #2196f3;
        }
        .empty-state {
            padding: 40px 0;
            text-align: center;
            color: #999;
        }
        .empty-icon {
            font-size: 48px;
            margin-bottom: 10px;
        }
        .empty-text {
            font-size: 14px;
        }
        .create-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: #333;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        .calendar-view {
            margin-bottom: 20px;
        }
        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        .calendar-title {
            font-size: 16px;
            font-weight: 500;
        }
        .calendar-nav {
            display: flex;
        }
        .calendar-nav-button {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f5f5f5;
            border-radius: 50%;
            margin-left: 5px;
        }
        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            text-align: center;
            font-size: 12px;
            color: #999;
            margin-bottom: 5px;
        }
        .calendar-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 5px;
        }
        .calendar-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            border-radius: 50%;
        }
        .calendar-day.today {
            background: #333;
            color: white;
        }
        .calendar-day.has-events {
            position: relative;
        }
        .calendar-day.has-events:after {
            content: '';
            position: absolute;
            bottom: 3px;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: #4caf50;
        }
        .view-toggle {
            display: flex;
            margin-bottom: 15px;
            border: 1px solid #f0f0f0;
            border-radius: 4px;
            overflow: hidden;
        }
        .view-toggle-button {
            flex: 1;
            text-align: center;
            padding: 8px 0;
            font-size: 14px;
            background: white;
        }
        .view-toggle-button.active {
            background: #f5f5f5;
            font-weight: 500;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <div class="back-button">←</div>
            <div class="header-title">预约列表</div>
            <div class="header-action">筛选</div>
        </div>
        
        <div class="content">
            <div class="search-bar">
                <div class="search-icon">🔍</div>
                <div class="search-text">搜索预约项目</div>
            </div>
            
            <div class="view-toggle">
                <div class="view-toggle-button active">列表视图</div>
                <div class="view-toggle-button">日历视图</div>
            </div>
            
            <div class="filter-tabs">
                <div class="filter-tab active">全部</div>
                <div class="filter-tab">会议室</div>
                <div class="filter-tab">场地</div>
                <div class="filter-tab">设备</div>
                <div class="filter-tab">服务</div>
                <div class="filter-tab">其他</div>
            </div>
            
            <div class="sort-bar">
                <div class="sort-label">排序方式:</div>
                <div class="sort-options">
                    <div class="sort-option active">最新发布</div>
                    <div class="sort-option">热门预约</div>
                    <div class="sort-option">剩余名额</div>
                </div>
            </div>
            
            <!-- 列表视图 -->
            <div class="appointment-list">
                <div class="appointment-item">
                    <div class="appointment-image">
                        <div style="color: #999; font-size: 14px;">图片</div>
                    </div>
                    <div class="appointment-content">
                        <div class="appointment-title">
                            大会议室预约
                            <span class="status-tag status-available">可预约</span>
                        </div>
                        <div class="appointment-desc">
                            配备投影仪、白板等设备，适合团队会议、培训等活动
                        </div>
                        <div class="appointment-info">
                            <div>已预约: 15/30</div>
                            <div>地点: A栋3楼</div>
                        </div>
                    </div>
                </div>
                
                <div class="appointment-item">
                    <div class="appointment-image">
                        <div style="color: #999; font-size: 14px;">图片</div>
                    </div>
                    <div class="appointment-content">
                        <div class="appointment-title">
                            企业年会场地预约
                            <span class="status-tag status-soon">即将开放</span>
                        </div>
                        <div class="appointment-desc">
                            多功能厅，配备舞台、音响设备，适合大型活动
                        </div>
                        <div class="appointment-info">
                            <div>开放时间: 12月1日</div>
                            <div>地点: 多功能厅</div>
                        </div>
                    </div>
                </div>
                
                <div class="appointment-item">
                    <div class="appointment-image">
                        <div style="color: #999; font-size: 14px;">图片</div>
                    </div>
                    <div class="appointment-content">
                        <div class="appointment-title">
                            摄影设备借用
                            <span class="status-tag status-full">已约满</span>
                        </div>
                        <div class="appointment-desc">
                            提供单反相机、三脚架、补光灯等专业摄影设备
                        </div>
                        <div class="appointment-info">
                            <div>已预约: 5/5</div>
                            <div>地点: B栋2楼</div>
                        </div>
                    </div>
                </div>
                
                <div class="appointment-item">
                    <div class="appointment-image">
                        <div style="color: #999; font-size: 14px;">图片</div>
                    </div>
                    <div class="appointment-content">
                        <div class="appointment-title">
                            IT技术支持预约
                            <span class="status-tag status-available">可预约</span>
                        </div>
                        <div class="appointment-desc">
                            提供设备维修、软件安装、网络问题等技术支持服务
                        </div>
                        <div class="appointment-info">
                            <div>已预约: 3/10</div>
                            <div>地点: 技术部</div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 日历视图（默认隐藏） -->
            <div class="calendar-view" style="display: none;">
                <div class="calendar-header">
                    <div class="calendar-title">2023年11月</div>
                    <div class="calendar-nav">
                        <div class="calendar-nav-button">←</div>
                        <div class="calendar-nav-button">→</div>
                    </div>
                </div>
                <div class="calendar-weekdays">
                    <div>日</div>
                    <div>一</div>
                    <div>二</div>
                    <div>三</div>
                    <div>四</div>
                    <div>五</div>
                    <div>六</div>
                </div>
                <div class="calendar-days">
                    <div class="calendar-day"></div>
                    <div class="calendar-day"></div>
                    <div class="calendar-day"></div>
                    <div class="calendar-day">1</div>
                    <div class="calendar-day">2</div>
                    <div class="calendar-day">3</div>
                    <div class="calendar-day">4</div>
                    <div class="calendar-day">5</div>
                    <div class="calendar-day">6</div>
                    <div class="calendar-day">7</div>
                    <div class="calendar-day">8</div>
                    <div class="calendar-day">9</div>
                    <div class="calendar-day">10</div>
                    <div class="calendar-day">11</div>
                    <div class="calendar-day">12</div>
                    <div class="calendar-day">13</div>
                    <div class="calendar-day">14</div>
                    <div class="calendar-day">15</div>
                    <div class="calendar-day">16</div>
                    <div class="calendar-day">17</div>
                    <div class="calendar-day">18</div>
                    <div class="calendar-day">19</div>
                    <div class="calendar-day">20</div>
                    <div class="calendar-day has-events">21</div>
                    <div class="calendar-day has-events">22</div>
                    <div class="calendar-day today">23</div>
                    <div class="calendar-day has-events">24</div>
                    <div class="calendar-day">25</div>
                    <div class="calendar-day">26</div>
                    <div class="calendar-day">27</div>
                    <div class="calendar-day">28</div>
                    <div class="calendar-day">29</div>
                    <div class="calendar-day">30</div>
                    <div class="calendar-day"></div>
                </div>
            </div>
            
            <!-- 空状态示例 -->
            <!--
            <div class="empty-state">
                <div class="empty-icon">📅</div>
                <div class="empty-text">暂无预约项目</div>
            </div>
            -->
        </div>
        
        <div class="create-button">+</div>
    </div>
</body>
</html>